/**     
* @Title: PoetryThread.java   
* @Package me.crawler.entry 
* @Description: TODO   
* @author xaoyaoyao
* @date 2019年1月13日 下午3:36:26
*/
package me.crawler.entry;

import lombok.extern.slf4j.Slf4j;
import me.crawler.crawl.AbstractThread;
import me.crawler.dto.PoetryDtos;
import me.crawler.entity.SpiderTask;
import me.crawler.enumerate.ResultEnum;
import me.crawler.processor.impl.PoetryProcessor;

/**
 * @ClassName: PoetryThread
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2019年1月13日 下午3:36:26
 * 
 */
@Slf4j
public class PoetryThread extends AbstractThread<PoetryDtos> {

	public PoetryThread(PoetryProcessor processor, boolean async) {
		super(processor, async, PoetryDtos.class);
	}

	@Override
	public void submitResult(SpiderTask task, ResultEnum resultEnum) {
		log.debug(">>>>>>>> 提交任务, task >> {}, resultEnum >> {}", task, resultEnum);
		// TODO
	}
}
